import http from "../utils/http"

export const login = (code) => {
  return http.get(`/weixin/wxLogin/${code}`)
}

export const getUserInfo = () => {
  return http.get(`/weixin/getuserInfo`)
}